export default ({
    page,
    pageSize
} , {
    db
}) => {
    const query = {};

    const SceneList = db.getCollection('scenes') ;
    return {
        total:SceneList.find(query).length,
        data:SceneList.find(query),
        page,
        pageSize
    } ;
} ;